import request from './request.js'

const news = {
  //获取tim用户信息
  getTimInfo(data) {
	  return request.post('/bussiness/BusInstantMessaging/BusInstantMessaging', data)
  },

  // 通知列表
  getNoticeList(data) {
	  return request.post('/bussiness/UserInfo/GetNoticeList', data)
  },

  //获取消息
  getTotal(data) {
	  return request.post('/bussiness/UserInfo/GetNotReadCount', data)
  },

  //添加聊天记录
  addChatFlow(data) {
    return request.post('/common/Chat/AddChatFlow', data)
  },

  //根据类型获取好友列表
  getChatFlowList(data) {
    return request.post('/common/Chat/GetChatFlowList', data)
  },
}

export default news